package org.example.lease.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ItemType {
    APARTMENT(1,"公寓"),
    ROOM(2,"房间");

    @EnumValue
    @JsonValue
    private Integer code;
    private String name;


}
